package mypack;

import java.io.IOException;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.mapreduce.Reducer;

public class LastReducer  extends Reducer <IntWritable, Chromosome, IntWritable, Chromosome>
{

	public void reduce(IntWritable key, Iterable<Chromosome> values, Context context ) throws IOException, InterruptedException 
	{
		for (Chromosome value : values)
		{
			context.write(key,value);
		}
		System.out.println("*******************************");
	}

}
